package shopping.dao;

import shopping.domain.Category;

import java.util.List;

public interface CategoryDao {
    public List<Category> findAll();
    public Category findById(String cid);

    void save(Category category);

    void update(Category category);

    void del(String cid);

    int countByCid(String cid);
}
